package cn.com.dycc.sys_manage.logsysmanagement.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.com.dycc.sys_manage.logsysmanagement.entity.OperateLog;


/**
 * 
 * Description: 璁板綍鏃ュ織Dao灞�
 * Author: Liket
 * Version: 1.0
 * Create Date Time: 2017骞�鏈�鏃�涓嬪崍7:41:27.
 * Update Date Time: 
 * @see
 */
public interface OperateLogDao {
	int addOperateLog(OperateLog log);
	
	List<Map<String,Object>> listLog();
	
	List<Map<String,Object>> findLogByPage(
			@Param("start")int start,
			@Param("size")int size);
	/**
	 * 澶氬弬鏁版煡璇�
	 * @param param 鍙互鎺ュ彈澶氬弬鏁版煡璇�
	 * @return
	 */
	List<Map<String,Object>> listLogByParam(Map<String,Object> param);
	/**
	 * 鏌ヨ鐧诲綍澶辫触娆℃暟
	 * @param log
	 * @return
	 */
	int countLogin(String account);
	
	String findVal(@Param("operate")String operate);
	
	int deleteLimit(String account);
	
	String countWeek();
	String countAll();
	
}
